Package video. api. upstream. models
Types
Link copied to clipboard
Link copied to clipboard
class MultiFileOutputStream( val filesDir: File, partSize: Long, namePrefix: String, listener: MultiFileOutputStream.Listener) : OutputStream
Content copied to clipboard
A class that allows to write to multiple files. The files are created in the given directory.
Link copied to clipboard
Manages the upload of a video parts. An MultiFileUploader uploads one video only. A video is composed of multiple parts.
Link copied to clipboard
Upstream session events listener
Link copied to clipboard
Upload parts events listener
Link copied to clipboard
Streamer event listener
Link copied to clipboard
data class UploadPart( val chunkIndex: Int, val isLast: Boolean, val file: File, var sent: Boolean = false)
Content copied to clipboard
Link copied to clipboard
class VideoConfig( val resolution: Resolution = Resolution.RESOLUTION_720, val bitrate: Int = getDefaultBitrate(resolution), val fps: Int = 30)
Content copied to clipboard
Describes video configuration.